package cn.raven.org.service;

import cn.raven.basic.service.IBaseService;
import cn.raven.org.domain.Shop;
import cn.raven.org.domain.ShopAuditLog;
import cn.raven.org.vo.ShopVo;
import org.springframework.http.HttpRequest;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.util.List;
import java.util.Map;

/**

* @Description: 部门管理业务层接口
* @Author: king
* @Version: 1.0
* @Date:  2022/6/21 18:39
  */
public interface IShopService extends IBaseService<Shop> {
    //店铺入驻
    void settlement(Shop shop) throws IOException;

    //审核驳回
    void reject(ShopAuditLog shopAuditLog,HttpServletRequest request);
    //审核拒接
    void not(ShopAuditLog shopAuditLog,HttpServletRequest request);

    void pass(ShopAuditLog shopAuditLog, HttpServletRequest request);

    //激活
    void live(Integer id);
    //批量新增
    void batchAdd(List<Shop> shops);
    //柱状图
    Map<String, Object> echarts(ShopVo shopVo);

    void smsCode(Shop shop);
}
